<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="author" content="wangbo">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container {
      background-color: #fff;
      width: 800px;
      height: 800px;
      padding-top: 100px;
    }

    .clock {
      margin: 0 auto;
      width: 400px;
      height: 400px;
      border: solid black 4px;
      border-radius: 50%;
      position: relative;
      background-size: cover;
    }

    .clock>div {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: auto;
    }

    .sec-warp {
      height: 90%;
      width: 90%;
      /* animation: clock-move 60s steps(60) infinite; */
      animation: clock-move 60s linear infinite;
    }

    .sec {
      height: 50%;
      width: 2px;
      background-color: red;
      margin: 0 auto;
    }

    .min-warp {
      height: 80%;
      width: 80%;
      animation: clock-move 3600s linear infinite;
    }

    .min {
      height: 50%;
      width: 4px;
      background-color: black;
      margin: 0 auto;
    }

    .hour-warp {
      height: 70%;
      width: 70%;
      animation: clock-move 43200s linear infinite;
    }

    .hour {
      height: 50%;
      width: 6px;
      background-color: black;
      margin: 0 auto;
    }

    @keyframes clock-move {
      0% {
        transform: rotateZ(0);
      }

      100% {
        /* 1turn = 360deg */
        transform: rotateZ(360deg);
      }
    }
  </style>
</head>

<body>

  <body>
    <div class="container">
      <div class="clock">
        <div class="hour-warp">
          <div class="hour"></div>
        </div>
        <div class="min-warp">
          <div class="min"></div>
        </div>
        <div class="sec-warp">
          <div class="sec"></div>
        </div>
      </div>
    </div>
  </body>
</body>

</html>